<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<script>
function addorder()
{
	$('#addstorageform').modal('show');	
}
</script>
<title>交运对帐历史</title>
<body class="withvernav">
<style type="text/css">
.stdtable tbody tr td{padding:4px 5px;}
</style>
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
  <div class="centercontent">
    <div class="pageheader notab">
      <h1 class="pagetitle">交运对帐历史</h1>
      <span class="pagedesc"></span>
       <div class="menulist">
      </div>
    </div>
    <!--pageheader-->
    
    <div id="contentwrapper" class="contentwrapper">
      <div id="basicform" class="subcontent">
          <!--搜索栏-->
           <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
    <form class="stdform stdform2" method="get" action="?" >
      <div class="tableoptions"> 
      物流类型:<select name="expresstype" class="selection" style="width:100px;">
                            <option value=""  selected>-选择物流-</option>
                            {{foreach from=$deliver_type item=li key=_key}}
                            <option value="{{$_key}}" {{if $_key==$expresstype}} selected{{/if}}>{{$li}}</option>
                            {{/foreach}}
        </select>
		<select name="ordertype" class="selection" style="width:100px;">
            <option value=""  selected>-排序方式-</option>
            <option value="check_month">按对帐月份</option>
            <option value="express_type desc,check_month">按物流类型</option>
            <option value="createtime">按导入时间</option>
        </select>
       
       &nbsp;
                          
                           
&nbsp;
        <button class="btn btn_orange btn_search radius50">Search</button>
      </div>
    </form>
    <!--搜索栏结束-->

             <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
            <thead>
              <tr class="tableheader">
               <th class="head1">对帐名称</th>
                <th class="head1">总额</th>
                <th class="head1">已核对(直发/海外)</th>
                <th class="head1">未找到运单数</th>
                <th class="head1">重量差异</th>
                <th class="head1">正确数</th>
                <th class="head1">运费更新进度</th>
                <th class="head1">对帐时间</th>
                <th class="head1">操作人</th>
                <th class="head1">操作</th>
              </tr>
            </thead>
          
             {{foreach from=$orderlist item=detail key=key}}
                <tr>
                 <td>{{$deliver_type[$detail['express_type']]}}{{$detail.check_month}}对帐信息</td>
                 <td>{{$detail.total_money}}</td>
                 <td>{{$detail.zhifa_money}}/{{$detail.haiwai_money}}</td>
                 <td>{{$detail.notexist_total}}</td>
                <td>{{$detail.weightwaring_total}}</td>
                <td>{{$detail.exist_total-$detail.weightwaring_total}}</td>
                <td>{{if $detail.update_type==1}}已更新{{else}}等待更新{{/if}}</td>
                <td>{{$detail.createtime|substr:0:16}}</td>
                <td>{{$detail.creator}}</td>
                <td><a href="/CheckExpressPrice/ajaxbutton?op=resultCheckdetail&express_type={{$detail.express_type}}&month={{$detail.check_month}}&id={{$detail.id}}" target="_blank">查看详细</a>  &nbsp;&nbsp;&nbsp;<a href="/CheckExpressPrice/ajaxbutton?op=updateCheckResult&express_type={{$detail.express_type}}&month={{$detail.check_month}}" target="_blank">更新运单备注</a></td>
                </tr>
              {{/foreach}}
          </table>
          
        <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
      </div></div>
</body>
</html>